/* Custom CSS for EasyTesting */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* General Styles */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.slide-in-up {
  animation: slideInUp 0.5s ease-in-out;
}

/* Card Enhancements */
.card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-hover-primary:hover {
  border-left: 4px solid var(--primary-color);
}

.card-hover-success:hover {
  border-left: 4px solid var(--success-color);
}

/* Status Indicators */
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.status-indicator.success {
  background-color: var(--success-color);
}

.status-indicator.danger {
  background-color: var(--danger-color);
}

.status-indicator.warning {
  background-color: var(--warning-color);
}

.status-indicator.info {
  background-color: var(--info-color);
}

/* Custom Buttons */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-icon:hover {
  transform: translateY(-3px);
}

/* Table Enhancements */
.table-modern {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-modern tbody tr {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 8px;
  background-color: white;
}

.table-modern tbody td {
  padding: 15px;
  vertical-align: middle;
}

.table-modern tbody td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.table-modern tbody td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Empty State */
.empty-state {
  padding: 40px 20px;
  text-align: center;
}

.empty-state-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 20px;
}

.empty-state-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.empty-state-description {
  color: #6c757d;
  margin-bottom: 20px;
}

/* Custom Badges */
.badge-outline-success {
  color: var(--success-color);
  background-color: rgba(76, 201, 240, 0.1);
  border: 1px solid var(--success-color);
}

.badge-outline-danger {
  color: var(--danger-color);
  background-color: rgba(230, 57, 70, 0.1);
  border: 1px solid var(--danger-color);
}

.badge-outline-primary {
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.1);
  border: 1px solid var(--primary-color);
}

/* Method Badges */
.method-badge {
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.method-get {
  background-color: rgba(76, 201, 240, 0.1);
  color: var(--success-color);
}

.method-post {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
}

.method-put {
  background-color: rgba(247, 37, 133, 0.1);
  color: var(--warning-color);
}

.method-delete {
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--danger-color);
}

/* Custom Form Controls */
.form-control-modern {
  border: none;
  border-bottom: 2px solid #ced4da;
  border-radius: 0;
  padding: 0.75rem 0;
  transition: all 0.3s;
}

.form-control-modern:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-control-modern-label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  color: #6c757d;
  transition: all 0.3s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}
